﻿using Service.Domain.Conventions.User;
using Service.Domain.Entities.User;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Service.Domain.Interfaces.Repositories
{
    public interface IRoleRepository : IRepository<UserRole, int>
    {
        Task<IEnumerable<UserRole>> GetUserRoles(int userId, ValidRoleConvention condition);
    }
}
